﻿using System.Configuration;
using System;

namespace MVCLD.Settings
{
    public static class Settings
    {
        // General
        public static string GeneralSiteName = ConfigurationManager.AppSettings["GeneralSiteName"];
        public static string GeneralSiteEmail = ConfigurationManager.AppSettings["GeneralSiteEmail"];
        public static int GeneralHomePageLatestSiteAmount = Convert.ToInt32(ConfigurationManager.AppSettings["GeneralHomePageLatestSiteAmount"]);
        // Category
        public static string CategoryListingsPerPage = ConfigurationManager.AppSettings["CategoryListingsPerPage"];
        public static string CategoryNextButtonText = ConfigurationManager.AppSettings["CategoryNextButtonText"];
        public static string CategoryPreviousButtonText = ConfigurationManager.AppSettings["CategoryPreviousButtonText"];
        // Article
        public static string ArticleSnippetWordLength = ConfigurationManager.AppSettings["ArticleSnippetWordLength"];
        public static string ArticleMinWordLength = ConfigurationManager.AppSettings["ArticleMinWordLength"];
        // PayPal
        public static string PayPalEmailAddress = ConfigurationManager.AppSettings["PayPalEmailAddress"];
    }
}
